home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXPPPPoooollllyyyyggggoooonnnnRRRReeeeggggiiiioooonnnn((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXPPPPoooollllyyyyggggoooonnnnRRRReeeeggggiiiioooonnnn((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XPolygonRegion, XClipBox - generate regions
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- Region XPolygonRegion(_p_o_i_n_t_s, _n, _f_i_l_l__r_u_l_e)
- XPoint _p_o_i_n_t_s[];
- int _n;
- int _f_i_l_l__r_u_l_e;
-
- XClipBox(_r, _r_e_c_t__r_e_t_u_r_n)
- Region _r;
- XRectangle *_r_e_c_t__r_e_t_u_r_n;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _f_i_l_l__r_u_l_e Specifies the fill-rule you want to set for the
- specified GC. You can pass _E_v_e_n_O_d_d_R_u_l_e or
- _W_i_n_d_i_n_g_R_u_l_e.
-
- _n Specifies the number of points in the polygon.
-
- _p_o_i_n_t_s Specifies an array of points.
-
- _r Specifies the region.
-
- _r_e_c_t__r_e_t_u_r_n
- Returns the smallest enclosing rectangle.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _X_P_o_l_y_g_o_n_R_e_g_i_o_n function returns a region for the polygon
- defined by the points array. For an explanation of
- fill_rule, see _X_C_r_e_a_t_e_G_C.
-
- The _X_C_l_i_p_B_o_x function returns the smallest rectangle
- enclosing the specified region.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XCreateGC(3X11), XDrawPoint(3X11), XDrawRectangle(3X11)
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-